package com.machuxin.course.patterns.factory.method;

import com.machuxin.course.patterns.factory.simple.beans.BananaFruits;
import com.machuxin.course.patterns.factory.simple.beans.Fruits;

/**
 * 香蕉厂只生产香蕉
 */
public class BananaFactory implements FruitsFactory {

    public Fruits create() {
        return new BananaFruits();
    }
}
